package com.ruoyi.firemen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务理论考试成绩对象 fm_theory_exam_scores
 * 
 * @author zmc
 * @date 2024-09-24
 */
public class FmTheoryExamScores extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 消防员ID */
    @Excel(name = "消防员ID")
    private Long firefighterId;

    public FmTheoryExamScores() {
    }

    public FmTheoryExamScores(Long firefighterId, String subject) {
        this.firefighterId = firefighterId;
        this.subject = subject;
    }

    /** 科目 */
    @Excel(name = "科目")
    private String subject;

    /** 分数 */
    @Excel(name = "分数")
    private Long score;

    /** 是否合格 */
    @Excel(name = "是否合格")
    private Integer isQualified;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFirefighterId(Long firefighterId) 
    {
        this.firefighterId = firefighterId;
    }

    public Long getFirefighterId() 
    {
        return firefighterId;
    }
    public void setSubject(String subject) 
    {
        this.subject = subject;
    }

    public String getSubject() 
    {
        return subject;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setIsQualified(Integer isQualified) 
    {
        this.isQualified = isQualified;
    }

    public Integer getIsQualified() 
    {
        return isQualified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("firefighterId", getFirefighterId())
            .append("subject", getSubject())
            .append("score", getScore())
            .append("isQualified", getIsQualified())
            .toString();
    }
}
